/**
*	用户登录
*/
Ext.define('MyApp.view.user.UserLogin', {
	extend: 'Ext.form.Panel',
	alias: 'widget.userlogin',
	requires: [
		'Ext.field.Password'
	],
	config: {
		height: '130px',
		scrollable: false,
		items: [
			{
				 xtype: 'fieldset',
				 items: [
					{
						xtype: 'textfield',
						name: 'username',
						label: '用户名',
						placeHolder: '请输入用户名',
						required: true
					},
					{
						xtype: 'passwordfield',
						name: 'password',
						label: '密码',
						placeHolder: '请输入密码',
						required: true
					},
					{
						xtype: 'button',
						text: '登录',
						ui: 'round',
						style: 'margin: 3px auto',
						width: '60%'
					}
				 ]
			}
		]
	}
});